package com.xiangban.volunteer_platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author 181****0667
 * @date 2021-01-21 10:09:17
 * @email
 */
@Data
@ApiModel("发布任务表")
@TableName("task")
public class Task {

    @ApiModelProperty(value = "id")
    @TableId(type = IdType.AUTO)
    private Integer id; 

    @ApiModelProperty(value = "任务名")
    private String name;

    @ApiModelProperty(value = "任务简介")
    private String remake;

    @ApiModelProperty(value = "任务地点")
    private String address;

    @ApiModelProperty(value = "经度")
    private String latitude;

    @ApiModelProperty(value = "纬度")
    private String longitude;

    @ApiModelProperty(value = "任务类型")
    private Integer typeId;

    @ApiModelProperty(value = "添加时间")
    private String addTime;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "任务人数")
    private String number;

    @ApiModelProperty(value = "商家id")
    private Integer businessId;

}
